main: Fix crossing event generation for parented roots
authorMatthias Clasen <mclasen@redhat.com>
Tue, 19 Mar 2019 23:12:55 +0000 (19:12 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 20 Mar 2019 01:33:38 +0000 (21:33 -0400)
commitf47c376fb145bf4f7094260d918427f54c170284
treee56908b915e82c475e2b1c6eae4892a8c47fc1de
parenta44ac75e652f5c33d93c841868af3b7218b54510
main: Fix crossing event generation for parented roots

We were walking the parent chain here, which now
always needs to consider whether it should stop
at roots. Like this one should.

The symptom was that a label with a popup attached to
it would end up with an unintentional focus ring that
would not go away.
gtk/gtkmain.c